import './App.css'
import { BrowserRouter as Router } from "react-router-dom";
import RoutesComponents from './routes';
import React, { Suspense } from 'react';
import { RecoilRoot } from 'recoil'

const App = () => {

  return (
    <RecoilRoot>
      <Router>
        <Suspense fallback={<div>222</div>}>
          <RoutesComponents></RoutesComponents>
        </Suspense>
      </Router>
    </RecoilRoot>
    
  )
}

export default App
